@import "../../../../style/sass/common/variables.scss";
@import "../../../../style/sass/common/function.scss";

.printer-list{
    padding-top: 0;
    md-list-item{
        padding: pxtorem(10) 0;
        border-bottom: 1px solid $baseBorderColor;
    }
}

.print-receipt {
  font-size: 24px;
  -webkit-box-orient: vertical;
  -webkit-flex-flow: column;
  flex-flow: column;
  display: block;
}
.print-receipt div {
  display: block;
}
.print-receipt img {
  max-width: 100%;
}
.print-receipt p,
.print-receipt .p,
.print-receipt .img-p,
.print-receipt div {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.print-receipt p,
.print-receipt .p {
  margin: 0;
  min-height: 1.4em;
  -webkit-box-orient: horizontal;
  -webkit-flex-flow: row;
  flex-flow: row;
  -webkit-box-align: start;
  -webkit-align-items: start;
  align-items: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-pack: start !important;
  -webkit-justify-content: flex-start !important;
  justify-content: flex-start !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.print-receipt .img-p {
  font-family: "Microsoft Yahei", "Helvetica Neue", "Luxi Sans", "Hiragino Sans GB", STHeiti, "Microsoft YaHei UI";
}
.print-receipt .big-size-imgl {
  font-size: 1.5em;
}
.print-receipt .big-size-1hxl {
  font-size: 1.5em;
}
.print-receipt .big-size-2xl {
  font-size: 2em;
}
.print-receipt .big-size-3xl {
  font-size: 3em;
}
.print-receipt .white-space {
  -webkit-box-flex: 1;
  /* Safari and Chrome */
  -webkit-flex: 1;
  flex: 1;
  min-height: 0;
}
.print-receipt .shop-info {
  text-align: center;
  -webkit-box-pack: center !important;
  -webkit-justify-content: center !important;
  justify-content: center !important;
}
.print-receipt .merchant-logo {
  width: 5em;
}
.print-receipt .order-time {
  -webkit-box-flex: 1;
  /* Safari and Chrome */
  -webkit-flex: 1;
  flex: 1;
  min-height: 0;
}
.print-receipt .text-center {
  text-align: center;
  -webkit-box-pack: center !important;
  -webkit-justify-content: center !important;
  justify-content: center !important;
}
.print-receipt .text-center.pre-text p,
.print-receipt .text-center.pre-text .p {
  text-align: center;
  -webkit-box-pack: center !important;
  -webkit-justify-content: center !important;
  justify-content: center !important;
}
.print-receipt .text-left {
  text-align: left;
  -webkit-box-pack: start !important;
  -webkit-justify-content: flex-start !important;
  justify-content: flex-start !important;
}
.print-receipt .text-left.pre-text p,
.print-receipt .text-left.pre-text .p {
  text-align: left;
  -webkit-box-pack: start !important;
  -webkit-justify-content: flex-start !important;
  justify-content: flex-start !important;
}
.print-receipt .text-right {
  text-align: right;
  -webkit-box-pack: end !important;
  -webkit-justify-content: flex-end !important;
  justify-content: flex-end !important;
}
.print-receipt .text-right.pre-text p,
.print-receipt .text-right.pre-text .p {
  text-align: right;
  -webkit-box-pack: end !important;
  -webkit-justify-content: flex-end !important;
  justify-content: flex-end !important;
}
.print-receipt .pre-text {
  white-space: pre-wrap !important;
  display: block;
}
.print-receipt .qrcode-placeholder {
  display: none;
}
.print-receipt .rows {
  -webkit-box-orient: vertical;
  -webkit-flex-flow: column;
  flex-flow: column;
}
.print-receipt hr {
  border: none;
  border-bottom: solid 1px black;
  min-height: 1px;
}
.print-receipt hr.dashed {
  border-bottom-style: dashed !important;
}
.print-receipt hr.dotted {
  border-bottom-style: dotted !important;
}
.print-receipt hr.bold-line {
  border-bottom-width: 2px;
}
.print-receipt hr.black-line {
  background: black;
  min-height: 8px;
}
.print-receipt p,
.print-receipt .p {
  word-break: break-word;
  white-space: normal;
  overflow: hidden;
  word-break: break-all;
}
.print-receipt .item-price-unit {
  min-width: 6em !important;
}
.print-receipt.size-80 {
  width: 22em;
}
.print-receipt.size-80 p,
.print-receipt.size-80 .p,
.print-receipt.size-80 .rows,
.print-receipt.size-80 .img-p,
.print-receipt.size-80 hr {
  width: 22em;
}
.print-receipt.size-73 {
  width: 19em;
}
.print-receipt.size-73 p,
.print-receipt.size-73 .p,
.print-receipt.size-73 .rows,
.print-receipt.size-73 .img-p,
.print-receipt.size-73 hr {
  width: 19em;
}
.print-receipt.size-58 {
  width: 15em;
}
.print-receipt.size-58 p,
.print-receipt.size-58 .p,
.print-receipt.size-58 .rows,
.print-receipt.size-58 .img-p,
.print-receipt.size-58 hr {
  width: 15em;
}
.print-receipt.size-58 .item-price-unit {
  min-width: 5em !important;
}
.print-receipt.size-a4 {
  width: 44em;
}
.print-receipt.size-a4 p,
.print-receipt.size-a4 .p,
.print-receipt.size-a4 .rows,
.print-receipt.size-a4 .img-p,
.print-receipt.size-a4 hr {
  width: 44em;
}
.print-receipt.size-a4 .terminal-no {
  min-width: 12em;
}
.print-receipt.size-a4 .cashier {
  min-width: 8em;
}
.print-receipt.size-a4 .item-inventory-code {
  min-width: 8em;
}
.sales-receipt .item-inventory-name {
  -webkit-box-flex: 1;
  /* Safari and Chrome */
  -webkit-flex: 1;
  flex: 1;
  min-height: 0;
}
.sales-receipt .item-quantity {
  min-width: 3.25em;
}
.sales-receipt .item-unit {
  min-width: 3em;
  text-align: right;
  -webkit-box-pack: end !important;
  -webkit-justify-content: flex-end !important;
  justify-content: flex-end !important;
}
.sales-receipt .item-price {
  text-align: right;
  -webkit-box-pack: end !important;
  -webkit-justify-content: flex-end !important;
  justify-content: flex-end !important;
  min-width: 4em;
}
.sales-receipt .item-amount {
  text-align: right;
  -webkit-box-pack: end !important;
  -webkit-justify-content: flex-end !important;
  justify-content: flex-end !important;
  min-width: 5em;
}
.sales-receipt.size-a4 .item-quantity {
  min-width: 6.5em;
}
.sales-receipt.size-a4 .item-price {
  min-width: 8em;
}
.sales-receipt.size-a4 .item-amount {
  min-width: 10em;
}
.sales-receipt.size-58 .item-price {
  min-width: 3em;
}
.sales-receipt.size-58 .item-amount {
  min-width: 4em;
}

div{
  display: flex;
  display: -webkit-flex;
}

.h-layout{
  -webkit-box-orient: horizontal;
  -webkit-flex-flow: row;
  flex-flow: row;
}
.auto-flex {
  -webkit-box-flex: 1;
  /* Safari and Chrome */
  -webkit-flex: 1;
  flex: 1;
  min-height: 0;
}